﻿using Domain.Entities.Customers;
using FrameworkCore.Migrations.Data;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entities.Loggers;

/// <summary>
/// 日志
/// </summary>
[Description("日志")]
[Table("Loggers")]
public class Logger : IEntity<long>
{
    public long Id { get; set; }
    public long? CustomerId { get; set; }
    public Customer? Customer { get; set; }
    public DateTime? Timestamp { get; set; }
    public long? TimestampLong { get; set; }
    public string? Level { get; set; }
    public string? MessageTemplate { get; set; }
    public string? Message { get; set; }
    public string? Exception { get; set; }
    public string? Properties { get; set; }
}
